package com.dgut.forum.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
@ApiModel("私信")
public class Message {
    @ApiModelProperty("私信id")
    private Long id;
    @ApiModelProperty("发送私信用户id")
    private Long postUserId;
    @ApiModelProperty("接受私信用户id")
    private Long receiveUserId;
    @ApiModelProperty("私信正文")
    private String content;
    @ApiModelProperty("私信状态")
    private Byte state;
    @ApiModelProperty("私信删除状态")
    private Byte deleteState;
    @ApiModelProperty("私信发布时间")
    private Date createTime;
    @ApiModelProperty("私信最新一次更新时间")
    private Date updateTime;

    private User postUser;

}